//
//  UIView+GJExtention.h
//  xmgjAppFront
//
//  Created by Zeki on 2020/7/29.
//  Copyright © 2020 guojutech. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef void(^CRRetryButtonBlock)(void);

@interface UIView (GJExtention)
/**
 *  显示没有数据的view
 */
- (void)gj_showNodataViewWithImage:(UIImage *)image
                              text:(NSString *)text
                  retryButtonTitle:(NSString *)retryButtonTitle
                  retryButtonBlock:(CRRetryButtonBlock)retryButtonBlock;

/**
 *  隐藏没有数据的view
 */
- (void)gj_hiddenNodataView;

@end

NS_ASSUME_NONNULL_END
